package com.xunyin.modules.mtdianpinggroup.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunyin.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 美团点评团购套餐
 * <p>
 * Created by xunyin
 * CopyRight 讯音云商 https://www.tonetn.com
 */
@Data
@TableName("mt_dianping_group")
@ApiModel(value = "MtDianpingGroup对象", description = "美团点评团购套餐表")
public class MtDianpingGroup extends BaseDomain {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("门店id")
    private Integer storeId;

    @ApiModelProperty("套餐id")
    private Integer dealId;

    @ApiModelProperty("团购id")
    private Integer dealgroupId;

    @ApiModelProperty("团购开始售卖时间")
    private String beginDate;

    @ApiModelProperty("团购结束售卖时间")
    private String endDate;

    @ApiModelProperty("套餐名称")
    private String title;

    @ApiModelProperty("套餐名称")
    private BigDecimal price;

    @ApiModelProperty("套餐原价")
    private BigDecimal marketprice;

    @ApiModelProperty("团购券开始服务时间")
    private String receiptBeginDate;

    @ApiModelProperty("团购券结束服务时间")
    private String receiptEndDate;

    @ApiModelProperty("售卖状态1-未开始售卖，2-售卖中，3-售卖结束")
    private Integer saleStatus;

    @ApiModelProperty("团购类型1-团购套餐，2-代金券")
    private Integer dealType;


}
